package com.shinhye.demoproject;

import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.view.View;

import com.shinhye.demoproject.util.WLog;

public class LogActivity extends AppCompatActivity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_log);
    }

    public void onClickButton(View v) {
        String lineInfo =
                WLog.getLineInfo();
        WLog.e(lineInfo);

        String dateTime = WLog.getdateAndtime();
        WLog.e(dateTime);

        WLog.printStack("呵呵哒");

        WLog.printfdateAndtime("嘻嘻哒");
    }

}
